package event;

public class EventParser {

	public EventParser(){
		
	}
	public static AlfaEvent parseEvent(int from, int to, String event, String params){
		if (event.equals("talk")) {
			return new TalkEvent(from, to, params);
		}
		return null;
	}
	public static AlfaEvent parseEvent(String event, String params){
		return parseEvent(-1, -1, event, params);
	}
	
}
